<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="aboutUsCss" jsFile="aboutUsJs" current="关于我们">
	<!-- BEGIN CONTENT BODY -->
    <div class="page-content">
    	<!-- BEGIN PAGE HEAD-->
         <div class="page-head">
            <!-- BEGIN PAGE TITLE -->
            <div class="page-title">
                <h1><#if msysIntroduceInfoVO != null>编辑关于我们信息<#else>新建关于我们信息</#if>
                    <small><#if msysIntroduceInfoVO != null>编辑关于我们信息界面<#else>新建关于我们信息界面</#if></small>
                </h1>
            </div>
            <!-- END PAGE TITLE -->
        </div>
        <!-- END PAGE HEAD-->
        <!-- BEGIN PAGE BREADCRUMB -->
        <ul class="page-breadcrumb breadcrumb">
        	<li>
                <a href="${context}/base/index_ftl">首页</a>
                <i class="fa fa-circle"></i>
            </li>
            <li>
                <span class="active"><#if msysIntroduceInfoVO != null>编辑信息<#else>新建信息</#if></span>
            </li>
        </ul>
        <!-- END PAGE BREADCRUMB -->
        <!-- BEGIN PAGE BASE CONTENT -->
        <div class="row">
            <div class="portlet light bordered">
                <div class="portlet-title">
                    <div class="caption">
                        基本信息</div>
                </div>
                <div class="portlet-body form edit-form">
                    <form action="#" class="horizontal-form createform" id="addInfoForm" >
                            <input type="hidden" id="id"  name="id" value="${msysIntroduceInfoVO.id}">  
                            <div class="form-body">							 
	                            <div class="alert alert-danger display-hide">
	                                <button class="close" data-close="alert"></button> 表单含有错误. 请检查. 
	                            </div>
	                            <div class="alert alert-success display-hide">
	                                <button class="close" data-close="alert"></button> 表单验证通过! 
	                            </div>
                                <div class="row">
                                	<div class="col-md-6">
                                        <div class="form-group">
                                            <div class="input-group">
                                                <label class="input-group-addon">标题</label>
                                            	<div class="input-group-content">
                                                	<input placeholder="★标题" class="form-control" name="introduce_title" value="${msysIntroduceInfoVO.introduce_title}">
				                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <div class="input-group">
                                                <label class="input-group-addon">排序</label>
                                                <div class="input-group-content">
                                                	<input type="text" class="form-control" placeholder="★排序编号" name="sort_no" value="${msysIntroduceInfoVO.sort_no}">
                                            	</div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--/span-->
                                    
                                    <div class="col-md-12">
                                        <div class="form-group">
                                            <div class="input-group intro-content">
                                                <label class="input-group-addon">内容</label>
                                            	<div class="input-group-content">
                                                	<textarea class="form-control" name="introduce_content" placeholder="★说明主体内容">${msysIntroduceInfoVO.introduce_content}</textarea>
				                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--/span-->
                                </div>
                            </div>
                            <div class="form-actions top">
                                <div class="row">
                                    <div class="col-md-offset-5 col-md-7">
                                       <#if view !='toView'>
                                         <button type="submit" class="btn green" id="infoSave">保存</button>
                                        </#if>
                                        <a href="${context}/sysIntroduce/search_view_introduce" class="btn default">返回</a>
                                    </div>
                                </div>
                            </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- END CONTENT BODY -->

</@page.mainTemplate>